{% extends "news/base.html" %}

{% block titleBlock %}
    首页-新经资讯
{% endblock %}

{% block scriptBlock %}
    <script type="text/javascript" src="../../static/news/js/index.js"></script>
{% endblock %}

{% block headerBlock %}
    <ul class="menu fl">
        {% for category in data.categories_list %}
            {% if loop.index == 1 %}
                <li class="active" data-cid="{{ loop.index0 }}"><a href="javascript:;">{{ category.name }}</a></li>
            {% else %}
                <li data-cid="{{ loop.index }}"><a href="javascript:;">{{ category.name }}</a></li>
            {% endif %}
        {% endfor %}
    </ul>
{% endblock %}

{% block contentBlock %}
    <ul class="list_con fl">
{#    这里是查询的新闻列表内容!!! #}

    </ul>
{% endblock %}


